const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  name: state => state.user.userinfo.username, // 映射用户名
  userid: state => state.user.userinfo.userId, // 映射用户id
  phone: state => state.user.userinfo.staffPhoto, // 映射用户头像
  companyId: state => state.user.userinfo.companyId, // 映射用户公司id
  routes: state => state.permisson.routes// 映射路由表
}
export default getters
